home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cartopedia - The Ultimate World Reference Atlas
/
Cartopedia_World_ Reference_CD.ISO
/
support
/
mstools
/
readme.txt
< prev
next >
Wrap
Text File
|
1994-04-13
|
14KB
|
348 lines
======================================================================
WW0440: THE DRWATSON AND MSD DIAGNOSTICS
======================================================================
Revision Date: 4/94
---------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification [the MS-DOS(R) |
| utility DISKCOPY is appropriate for this purpose]; 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1991 Microsoft Corporation. All Rights Reserved. |
| Microsoft and MS-DOS are registered trademarks and Windows is a |
| trademark of Microsoft Corporation. |
| Novell is a registered trademark of Novell, Inc. |
--------------------------------------------------------------------
Introduction
------------
The disk included with this application note contains DrWatson and
MSD, two programs that aid Microsoft programmers in debugging Windows.
DrWatson is a program that logs information about conditions that
exist when an unrecoverable application error (UAE) occurs. MSD
(Microsoft Diagnostics) is a program that identifies system
configuration information.
This application note explains how to install and use DrWatson and
MSD. For Microsoft to most effectively identify and solve system
problems, we ask that you use these programs and periodically send us
the logs that result. The information in this application note
describes what to do when a UAE occurs and how to send Microsoft the
information that you gather.
DrWatson
--------
DrWatson is a debugging tool designed to provide software programmers
with detailed information on the internal state of Windows when a UAE
occurs. DrWatson must be running at the time a UAE occurs to extract
the internal information from the system.
As DrWatson uses very little memory and does not affect the
performance of Windows, we encourage you to install DrWatson if a UAE
has occurred before. After DrWatson is installed, information is
collected when a UAE occurs and written to a special file
(DRWATSON.LOG) located in the Windows directory.
DrWatson is a diagnostic tool, not a cure for a problem. Having
DrWatson will not prevent an error from occurring, but the information
in DRWATSON.LOG will help Microsoft developers make the next version
of Windows even better.
Microsoft Diagnostics (MSD)
---------------------------
The Microsoft Diagnostics (MSD) program is designed to assist
Microsoft customers and Product Support Services (PSS) technicians in
solving problems with Microsoft products. MSD identifies system
configuration information such as the BIOS, video card type and
manufacturer, installed processor(s), I/O port status, operating
system version, environment settings, hardware devices attached, and
additional software running concurrently with MSD.
MSD should be used in conjunction with DrWatson to provide valuable
information on hardware configurations and UAEs. Error reports should
include information from both the MSD program and DrWatson. (The
section titled "When a UAE Occurs" on page 2 of this application note
details the procedure for using MSD with DrWatson.)
Installing DrWatson and MSD
---------------------------
We recommend that you start DrWatson automatically each time you start
Windows. This will allow you to collect critical information each time
a UAE occurs.
To install MSD and DrWatson and to start DrWatson automatically when
you start Windows, do the following:
1. Place the enclosed disk in drive A.
2. From Windows, start File Manager.
3. From the File menu, choose Copy. In the From and To boxes, type the
following:
From: a:\msd.exe
To: c:\
Choose the Copy button. The MSD program is now copied to your root
directory (if your root directory is not on drive C, substitute the
correct drive letter in the To box).
4. From the File menu, choose Copy. In the From box, type the
following:
a:\drwatson.exe a:\toolhelp.dll
In the To box, type in the path to your Windows directory (for
example: "c:\windows" -- without the quotation marks). Choose the
Copy button. The DrWatson files are now copied to your Windows
directory.
5. From the File menu, choose Copy. Make a backup copy of your WIN.INI
file. For example, if your Windows directory is called Windows and
is on drive C, in the From and To boxes, type the following:
From: c:\windows\win.ini
To: c:\windows\win.bak
Choose the Copy button.
6. Exit File Manager and open Notepad or any text editor. Open the
WIN.INI file, and in the [Windows] section, add DrWatson to the
LOAD= line. For example:
[windows]
Beep=yes
Spooler=yes
NullPort=None
LOAD=DRWATSON.EXE
7. Save the WIN.INI file and exit the text editor.
8. Exit and then restart Windows.
DrWatson should now appear as an icon on your desktop.
Using DrWatson
--------------
DrWatson adds a file to your Windows directory called DRWATSON.LOG. If
a UAE occurs while DrWatson is running, DrWatson captures data
regarding the internal operations of Windows. In addition, DrWatson
prompts you for details on how the UAE occurred. When you type in your
response, please include information on what you were doing or what
steps created the UAE. This information is recorded in the
DRWATSON.LOG file and will help our software programmers track the
problems.
At this time, DrWatson does not detect all system errors, so don't be
alarmed if DrWatson does not record information after a particular
system error.
Each time a UAE occurs, DrWatson appends new data to DRWATSON.LOG. To
prevent this file from growing too large and to aid our processing,
please save DRWATSON.LOG as a different file periodically. (For
example, if five UAEs occur in one day, save DRWATSON.LOG under a
different name before you start Windows again the next day.)
To save the file under a different name, type the following at the
command prompt before you start Windows:
rename c:\drwatson.log <newname>
where <newname> is any legal MS-DOS filename, such as SEPT06.LOG. If
your root directory is not on drive C, substitute the correct drive
letter.
When a UAE Occurs
-----------------
1. When a UAE occurs, the DrWatson dialog box will appear. Type in a
description of what you were doing prior to receiving the error.
Press ENTER.
2. Exit Windows if possible. If exiting is not possible, restart your
computer.
3. Change to the root directory, and at the command prompt, type "msd"
(without the quotation marks) and press ENTER to run the MSD
program. (For LCD and monochrome screens, type "msd /b" and press
ENTER.)
4. Press R to choose Generate Report. Select the Generate To File
option. When prompted for a filename, type "msd.log" (without the
quotation marks and press ENTER. Fill in the information requested.
5. Exit MSD by pressing X.
6. Append the MSD log to the DrWatson log by typing the following at
the command prompt:
type <p